﻿
using BCCommon;
using BCCommon.Enums;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormCategory;
using BCDto.Sim.Admin.Admin;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.OA.WorkflowTemplate.WorkflowTemplateStepFormCategory
{
	/// <summary>
	/// 工作流模板步骤表单分类
	/// </summary>
	public interface IWorkflowTemplateStepFormCategoryService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="workflowTemplateStepFormCategoryId">工作流模板步骤表单分类Id</param>
		bool Exists(long workflowTemplateStepFormCategoryId);
		/// <summary>
		/// 添加工作流模板步骤表单分类
		/// </summary>
		/// <param name="adminDto"></param>
		/// <param name="requestDto">工作流模板步骤表单分类信息</param>
		WorkflowTemplateStepFormCategoryDto Add(WorkflowTemplateStepFormCategoryRequestDto requestDto, AdminDto adminDto);
		/// <summary>
		/// 更新工作流模板步骤表单分类
		/// </summary>
		/// <param name="adminDto"></param>
		/// <param name="putDto">工作流模板步骤表单分类信息</param>
		WorkflowTemplateStepFormCategoryDto Update(WorkflowTemplateStepFormCategoryPutDto putDto, AdminDto adminDto);
		/// <summary>
		/// 删除工作流模板步骤表单分类
		/// </summary>
		/// <param name="workflowTemplateStepFormCategoryId">工作流模板步骤表单分类Id</param>
		bool Delete(long workflowTemplateStepFormCategoryId);
		/// <summary>
		/// 获取工作流模板步骤表单分类
		/// </summary>
		/// <param name="workflowTemplateStepFormCategoryId">工作流模板步骤表单分类Id</param>
		WorkflowTemplateStepFormCategoryDto Get(long workflowTemplateStepFormCategoryId);
		/// <summary>
		/// 获取工作流模板步骤表单分类列表
		/// </summary>
		IEnumerable<WorkflowTemplateStepFormCategoryDto> GetList();
		/// <summary>
		/// 获取工作流模板步骤表单分类分页列表
		/// </summary>
		/// <param name="start">开始时间</param>
		/// <param name="end">结束时间</param>
		/// <param name="sortName">排序字段</param>
		/// <param name="ascending">升序</param>
		/// <param name="pageIndex">当前页码</param>
		/// <param name="pageSize">工作流模板步骤表单分类每页数据条数</param>
		PageableList<WorkflowTemplateStepFormCategoryDto> Query(DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
		#endregion  成员方法
	}
}